package com.ocn.li.scmdy.modules.sys.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * TODO 用户角色对应表
 *
 * @author crazypenguin
 * @version 1.0.0
 * @createdate 2019/1/2
 */
@TableName("sys_user_role")
@Data
public class SysUserRoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id",type = IdType.UUID)
	private String id;

	/**
	 * 用户ID
	 */
	private String userId;

	/**
	 * 角色ID
	 */
	private String roleId;
}
